/**
 * @Author ZhangCuirong
 * @Date 2025/9/2 8:31
 * @description:
 */
public class Solution319 {
    public int bulbSwitch(int n) {
        return (int)Math.sqrt(n);
    }
}
